package com.itheima.commons.constants;

/**
 * @author yaohu
 * 定义常量
 */
public class Constants {

    /**
     * 手机APP短信验证码CHECK_CODE_
     */
    public static final String SMS_CODE = "CHECK_CODE_";

    /**
     * 登录短信模板编码
     */
    public static final String SMS_CODE_TEMPLATE = "SMS_184110818";

    /**
     * JWT加密盐
     */
    public static final String JWT_SECRET = "itcast";

    /**
     * JWT超时时间(默认七天)
     */
    public static final int JWT_TIME_OUT = 1000 * 60 * 60 * 24 * 7;

    //推荐动态
    public static final String QUANZI_PUBLISH_RECOMMEND = "QUANZI_PUBLISH_RECOMMEND_";

    //推荐视频
    public static final String VIDEOS_RECOMMEND = "QUANZI_VIDEO_RECOMMEND_";

    //圈子互动KEY
    public static final String MOVEMENTS_INTERACT_KEY = "MOVEMENTS_INTERACT_";

    //动态点赞数 HashKey
    public static final String MOVEMENT_LIKE_HASHKEY = "MOVEMENT_LIKE";

    //动态喜欢数 HashKey
    public static final String MOVEMENT_LOVE_HASHKEY = "MOVEMENT_LOVE";

    //动态评论数 HashKey
    public static final String MOVEMENT_COMMENT_HASHKEY = "MOVEMENT_COMMENT_HASHKEY";

    //用户是否点赞 HashKey
    public static final String MOVEMENT_ISLIKE_HASHKEY = "MOVEMENT_ISLIKE_HASHKEY_";

    //用户是否喜欢 HashKey
    public static final String MOVEMENT_ISLOVE_HASHKEY = "MOVEMENT_ISLOVE_HASHKEY_";

    //小视频互动KEY
    public static final String VIDEOS_INTERACT_KEY = "VIDEOS_INTERACT_";

    // 视频点赞用户HashKey
    public static final String VIDEO_LIKE_HASHKEY = "VIDEO_LIKE";

    // 视频评论 HashKey
    public static final String VIDEO_COMMENT_HASHKEY = "VIDEO_COMMENT";

    // 视频是否点赞HashKey
    public static final String VIDEO_ISLIKE_HASHKEY = "VIDEO_ISLIKE_";

    // 视频关注主播HashKey
    public static final String VIDEO_FOLLOW_HASHKEY = "VIDEO_FOLLOW_";

    // 访问用户
    public static final String VISITORS_USER_KEY = "VISITOR_USER_";

    //初始化密码
    public static final String INIT_PASSWORD = "123456";

    //环信用户前缀
    public static final String HX_USER_PREFIX = "hx";

    //用户喜欢Redis的key
    public static final String USER_LIKE_KEY = "USER_LIKE_SET_";

    //用户不喜欢Redis的key
    public static final String USER_NOT_LIKE_KEY = "USER_NOT_LIKE_SET_";

    //关注用户的key
    public static final String FOCUS_USER_KEY = "FOCUS_USER_KEY_";

    // PID/VID在Redis中的Key
    public static final String TANHUA_UNIT_ID = "TANHUA_UNIT_ID";

    //发送语音键
    public static final String SEND_SOUND_KEY="SEND_SOUND";
    //接收语音键
    public static final String GET_SOUND_KEY="GET_SOUND";
    //报告标记
    public static final String REPRORT_ADDR="REPORT_ADDR";
    public static final String REPRORT_ID="REPORT_ID";



    public static final String USER_FREEZE = "USER_FREEZE_";
}
